Ext.define('AmpleHarvest.objects.search.results.grid.cGridResults',
{
	extend			: 'Ext.grid.Panel',
	stateId			: 'GridResults',

	anchor			: "100% 100%",
	initComponent	: function()
	{
		this.callParent();

		this.on("itemdblclick", this.item_Select, this);
	},

	item_Select	: function(obj_View, obj_Record, obj_HTML, int_Index,	obj_Event, obj_Options)
	{
		m_obj_AmpleHarvest_ViewPort.fireEvent(
						AmpleHarvest.eventHandler.cWindowEvents.C_STR_EVENT_ARTICLE_OPEN,
						obj_Record.get("id")
				);
	}
}
);